home *** CD-ROM | disk | FTP | other *** search
/ BBS Toolkit / BBS Toolkit.iso / tag_bbs / tagp26c.zip / PATCH26C.BAT < prev    next >
DOS Batch File  |  1992-06-04  |  5KB  |  113 lines

  1. @Echo Off
  2. CLS
  3. Echo *************************************************************************
  4. Echo * PATCH26C.BAT for T.A.G. version 2.6c to version 2.6c1    June 4, 1992 *
  5. Echo * T.A.G. (C) Copyrighted 1986-1991 by Robert Numerick and Victor Capton *
  6. Echo *************************************************************************
  7. Echo.
  8.  
  9. If Exist TAG.EXE Goto OK1
  10. Echo The file "TAG.EXE" was not found in the current directory.
  11. Goto HowTo
  12.  
  13. :OK1
  14. If Exist TAG.OVR Goto OK2
  15. Echo The file "TAG.EXE" was not found in the current directory.
  16. Goto HowTo
  17.  
  18. :OK2
  19. If Exist EXE26C.DIF Goto OK3
  20. Echo The file "EXE26C.DIF" was not found in the current directory.
  21. Goto HowTo
  22.  
  23. :OK3
  24. If Exist OVR26C.DIF Goto OK4
  25. Echo The file "OVR26C.DIF" was not found in the current directory.
  26. Goto HowTo
  27.  
  28. :OK4
  29. If Exist REBUILD.EXE Goto OK5
  30. Echo The file "REBUILD.EXE" was not found in the current directory.
  31. Goto HowTo
  32.  
  33. :OK5
  34. Echo *************************************************************************
  35. Echo *            All required files are in place to run update.             *
  36. Echo *     !!WARNING!! DO NOT RUN THIS PATCH MORE THAN ONCE !!WARNING!!      *
  37. Echo *         Press RETURN to Continue, or ^C (Control C) to abort          *
  38. Echo *************************************************************************
  39. Echo.
  40. PAUSE
  41.  
  42. REBUILD TAG.EXE TAGEXE.NEW EXE26C.DIF
  43. If Errorlevel 1 Goto Fail
  44. REBUILD TAG.OVR TAGOVR.NEW OVR26C.DIF
  45. If Errorlevel 1 Goto Fail
  46.  
  47. Ren TAG.EXE TAGEXE.OLD
  48. Ren TAGEXE.NEW TAG.EXE
  49. Ren TAG.OVR TAGOVR.OLD
  50. Ren TAGOVR.NEW TAG.OVR
  51.  
  52. Cls
  53. Echo *************************************************************************
  54. Echo *              Update to T.A.G. version 2.6c1 successful                *
  55. Echo *                                                                       *
  56. Echo *                  Cleanup Phase - Delete old files                     *
  57. Echo *           TAGEXE.OLD, TAGOVR.OLD, EXE26C.DIF, OVR26C.DIF              *
  58. Echo *                                                                       *
  59. Echo *         Press RETURN to Continue, or ^C (Control C) to abort          *
  60. Echo *************************************************************************
  61. Echo.
  62. PAUSE
  63.  
  64. Del TAGEXE.OLD
  65. Del TAGOVR.OLD
  66. Del EXE26C.DIF
  67. Del OVR26C.DIF
  68.  
  69. Echo *************************************************************************
  70. Echo *              Update to T.A.G. version 2.6c1 successful                *
  71. Echo *                     Thanks for running T.A.G. !                       *
  72. Echo *        Until Next Time, Happy BBSing!  ...  The T.A.G. Team           *
  73. Echo *************************************************************************
  74. Goto Exuant
  75.  
  76. :HowTo
  77. Echo .
  78. Echo *************************************************************************
  79. Echo *    You must unzip ALL the files from the update file (TAGP26C.ZIP)    *
  80. Echo *    into a directory containing the 2.6c T.A.G. EXE and OVR files.     *
  81. Echo *    The following files MUST be in the current directory that this     *
  82. Echo *    BAT file is invoked from.                                          *
  83. Echo *    TAG.EXE, TAG.OVR                                                   *
  84. Echo *    EXE26C.DIF, OVR26C.DIF                                             *
  85. Echo *    REBUILD.EXE, PATCH26C.BAT                                          *
  86. Echo *                                                                       *
  87. Echo *          Update to T.A.G. version 2.6c1 NOT complete!                 *
  88. Echo *************************************************************************
  89. Goto Exuant
  90.  
  91. :Fail
  92. If Exist TAGEXE.NEW Del TAGEXE.NEW
  93. If Exist TAGOVR.NEW Del TAGOVR.NEW
  94.  
  95. Echo.
  96. Echo *************************************************************************
  97. Echo *                The conversion to 2.6c1 FAILED!                        *
  98. Echo *                                                                       *
  99. Echo *                    Possible reasons                                   *
  100. Echo *      1. Wrong version of the TAG.EXE/OVR files (Must be 2.6c)         *
  101. Echo *      2. Out of disk space                                             *
  102. Echo *                                                                       *
  103. Echo *          Update to T.A.G. version 2.6c1 NOT complete!                 *
  104. Echo *************************************************************************
  105. Goto Exuant
  106.  
  107. :Exuant
  108. Rem  *************************************************************************
  109. Rem  * PATCH26C.BAT for T.A.G. version 2.6c to version 2.6c1    June 3, 1992 *
  110. Rem  * T.A.G. (C) Copyrighted 1986-1991 by Robert Numerick and Victor Capton *
  111. Rem  *************************************************************************
  112.  
  113.